var demo = angular.module('demo', ['ui.bootstrap'])
    .controller('navLeftBar', function ($scope) {

        $scope.groups = [{
            name: '主页一',
            items: [{
                name: '菜单一',
                href: '#1'
            }, {
                name: '菜单二',
                href: '#2'
            }]
        }];


    });